
/*
Copyright 2009 Peter Ekler, Akos Ludanyi, Budapest University of Technology and Economics, Department of Automation and Applied Informatics, Applied Mobile Research Group (AMORG) http://amorg.aut.bme.hu

This file is part of MobTorrent.

MobTorrent is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

MobTorrent is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with MobTorrent.  If not, see <http://www.gnu.org/licenses/>.
*/

/*
 * MTOpenTorrentResult.java
 *
 * Created on 2007. november 3., 20:54
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package TorrentEngine;

/**
 *
 * @author Tyrial
 */
public class MTOpenTorrentResult {
    
    private int openResult;
    private MTTorrent openedTorrent;
    
    /** Creates a new instance of MTOpenTorrentResult */
    public MTOpenTorrentResult(int aOpenResult, MTTorrent aOpenedTorrent)
    {
        openResult=aOpenResult;
        openedTorrent = aOpenedTorrent;
    }

    public int getOpenResult() {
        return openResult;
    }

    public void setOpenResult(int openResult) {
        this.openResult = openResult;
    }

    public MTTorrent getOpenedTorrent() {
        return openedTorrent;
    }

    public void setOpenedTorrent(MTTorrent openedTorrent) {
        this.openedTorrent = openedTorrent;
    }
    
}

